﻿@model Irandeb4.Models.UserModel

@{
    ViewBag.Title = "Delete";
}

<h2>Cambiar Estaddo Usuario</h2>

<fieldset>
        <legend>Datos</legend>
            <fieldset>
                <legend>Informacion Cuenta</legend>
                <table>
                    <tr>
                        <td class="display-label">Nombre Usuario</td>
                        <td class="display-field">
                            @Html.DisplayFor(model => model.UserName)
                        </td>
                    </tr>
                    <tr>
                        <td class="display-label">Email</td>
                        <td class="display-field">
                            @Html.DisplayFor(model => model.Email)
                        </td>
                    </tr>
                    <tr>
                        <td class="display-label">Password</td>
                        <td class="display-field">
                            @Html.DisplayFor(model => model.Password)
                        </td>
                    </tr>
                </table>
            </fieldset>
            
            <br/>
            @Html.DisplayFor(model => model.Employee)

@using (Html.BeginForm()) {
    <fieldset>
    <legend>Estado</legend>
        <center>
        <table>
            <tr>
                <td><b>Estado Actual: </b></td>
                <td>
                    <table>
                        <tr>
                            <td>Activa @Html.RadioButtonFor(model => model.Active,"true")</td>
                            <td>Inactiva @Html.RadioButtonFor(model => model.Active, "false")</td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        </center>
    </fieldset>
    <div align="right">
        @Html.ActionLink("volver", "Search")
        <input type="submit" value="Cambiar Estado" /> 
        
    </div>
}

</fieldset>